using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace ePlanSysOman
{
  public partial class frmPLANNUMBER
  {
      public static frmPLANNUMBER newfrmPLANNUMBER1;//JMR

    public void  // ERROR: Handles clauses are not supported in C#
LabelControl1_Click(System.Object sender, System.EventArgs e)
    {

    }

    private void  // ERROR: Handles clauses are not supported in C#
SimpleButton1_Click(object sender, System.EventArgs e)
    {
      if (plano.Text == " ") {


        plano.Text = " ";



      } else {

      }
      Module1.newModule.STRPLANO = txtArea.Text + "-" + plano.Text;
      this.Close();
      Module1.newModule.FormCloseex = false;




    }

    private void  // ERROR: Handles clauses are not supported in C#
CheckEdit1_EditValueChanged(object sender, System.EventArgs e)
    {
      if (CheckEdit1.Checked == true) {
        txtArea.Enabled = true;
        plano.Enabled = true;
      } else {
        txtArea.Enabled = false;
        plano.Enabled = false;

      }

    }


    private void  // ERROR: Handles clauses are not supported in C#
CheckEdit1_CheckedChanged(System.Object sender, System.EventArgs e)
    {
      if (CheckEdit1.Checked == true) {
        txtArea.Enabled = true;
        plano.Enabled = true;
      } else {
        txtArea.Enabled = false;
        plano.Enabled = false;

      }

    }

    private void frmPLANNUMBER_Load(object sender, EventArgs e)
    {

    }

      public frmPLANNUMBER()
    {
        InitializeComponent(); 
    }
  }
}

